#include<iostream>
using namespace std;
class Complex {
public:
    Complex();
    Complex(double, double);
    void display();
    double get_real()
    {
        return real;
    }
    void set_real(double re)
    {
        real = re;
    }
    double get_img()
    {
        return img;
    }
    void set_img(double im)
    {
        img = im;
    }
    //Complex operator+(Complex&);
    Complex operator-(Complex&);
    Complex operator+(int&);
    friend Complex operator+(Complex&, Complex&);
    friend Complex operator+(int, Complex&);
    friend Complex operator+(Complex&, int);
private:
    double real;
    double img;
};
//Complex operator+(Complex&, Complex&);

class rect {
public:
    rect();
    rect(int (&arry)[2][3]);
    rect operator+(rect&);
    void show();
    friend ostream& operator <<(ostream&, rect&);
    friend istream& operator >>(istream&, rect&);
private:
    int arry[2][3];
};